package com.zhang.warehouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 仓库保存商品的信息
 * </p>
 *
 * @author 创世神
 * @since 2023-10-13
 */
@Data
@TableName("my_ware_sku")
public class WareSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("sku_id")
    private Long skuId;

    @TableField("ware_id")
    private Long wareId;

    @TableField("stock")
    private Integer stock;

    @TableField("sku_name")
    private String skuName;

    @TableField("stock_locked")
    private String stockLocked;
}
